package com.dormitory.management.system.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Cost对象", description="水电费用表")
public class CostExcel implements Serializable {

    private static final long serialVersionUID = 1L;


    @ExcelProperty("房间号")
    @ApiModelProperty(value = "关联房间表id")
    private Long roomId;

    @ExcelProperty("电费")
    @ApiModelProperty(value = "电费")
    private BigDecimal costElectric;

    @ExcelProperty("水费")
    @ApiModelProperty(value = "水费")
    private BigDecimal costWater;

    @ExcelProperty("总费用")
    @ApiModelProperty(value = "水电费总计")
    private BigDecimal costTotal;

    @ExcelProperty("电流量")
    @ApiModelProperty(value = "电流量（kW·h）")
    private BigDecimal quantityElectric;

    @ExcelProperty("水流量")
    @ApiModelProperty(value = "水流量（m³）")
    private BigDecimal quantityWater;

}
